package com.comut.crud.pojo.mobile;

import java.io.Serializable;
import java.util.Date;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Issue: IFL-1572
 *
 * @author Vitor Borrego
 */
@XmlRootElement()
@XmlAccessorType(XmlAccessType.FIELD)
public class TrailerInfo implements Serializable{
    private int id;
    private long probeId;
    private String licensePlate;
    private String state;
    private int vehicleId;
    private double latitude;
    private double longitude;
    private String fractal;
    private int speed;
    private int heading;
    private Date connectionDate;
    private Date disconnectionDate;

    /**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * @return the probeId
     */
    public long getProbeId() {
        return probeId;
    }

    /**
     * @param probeId the probeId to set
     */
    public void setProbeId(long probeId) {
        this.probeId = probeId;
    }

    /**
     * @return the licensePlate
     */
    public String getLicensePlate() {
        return licensePlate;
    }

    /**
     * @param licensePlate the licensePlate to set
     */
    public void setLicensePlate(String licensePlate) {
        this.licensePlate = licensePlate;
    }

    /**
     * @return the state
     */
    public String getState() {
        return state;
    }

    /**
     * @param state the state to set
     */
    public void setState(String state) {
        this.state = state;
    }

    /**
     * @return the vehicleId
     */
    public int getVehicleId() {
        return vehicleId;
    }

    /**
     * @param vehicleId the vehicleId to set
     */
    public void setVehicleId(int vehicleId) {
        this.vehicleId = vehicleId;
    }

    /**
     * @return the latitude
     */
    public double getLatitude() {
        return latitude;
    }

    /**
     * @param latitude the latitude to set
     */
    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    /**
     * @return the longitude
     */
    public double getLongitude() {
        return longitude;
    }

    /**
     * @param longitude the longitude to set
     */
    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    /**
     * @return the fractal
     */
    public String getFractal() {
        return fractal;
    }

    /**
     * @param fractal the fractal to set
     */
    public void setFractal(String fractal) {
        this.fractal = fractal;
    }

    /**
     * @return the speed
     */
    public int getSpeed() {
        return speed;
    }

    /**
     * @param speed the speed to set
     */
    public void setSpeed(int speed) {
        this.speed = speed;
    }

    /**
     * @return the heading
     */
    public int getHeading() {
        return heading;
    }

    /**
     * @param heading the heading to set
     */
    public void setHeading(int heading) {
        this.heading = heading;
    }

    /**
     * @return the connectionDate
     */
    public Date getConnectionDate() {
        return connectionDate;
    }

    /**
     * @param connectionDate the connectionDate to set
     */
    public void setConnectionDate(Date connectionDate) {
        this.connectionDate = connectionDate;
    }

    /**
     * @return the disconnectionDate
     */
    public Date getDisconnectionDate() {
        return disconnectionDate;
    }

    /**
     * @param disconnectionDate the disconnectionDate to set
     */
    public void setDisconnectionDate(Date disconnectionDate) {
        this.disconnectionDate = disconnectionDate;
    }
}
